{% extends "base.html" %}

{% block title %}
{% ifequal lang 'en' %}
Publications
{% else %}{% ifequal lang 'zh' %}
出版物
{% endifequal %}{% endifequal %}
{% endblock %}

{% block style %}{% endblock %}

{% block content %}
<div id="Content">
    <div id="list" style="width:220px">
	<ul>
	    {% ifequal lang 'en' %}
	    {% for group in group_list %}
	    <li><a href="/{{lang}}/research/{{group.group_tag}}">{{group.group_name_en}}</a></li>
	    {% endfor %}
	    <li><a href="/{{lang}}/research/publications" id="current">Publications</a></li>
	    {% else %}{% ifequal lang 'zh' %}
	    {% for group in group_list %}
	    <li><a style="letter-spacing:0.1em" href="/{{lang}}/research/{{group.group_tag}}">{{group.group_name_zh}}</a></li>
	    {% endfor %}
	    <li><a style="letter-spacing:0.1em" href="/{{lang}}/research/publications" id="current">出版物</a></li>
	    {% endifequal %}{% endifequal %}
	</ul>
    </div>
    <div id="ConRight" style="width:620px">	
	<img src="/media/image/{{lang}}/publication.jpg" width="109" height="30" alt="publications"/><br/><br/><br/>
	{% ifequal lang 'en' %}
	{% for publication in publication_list %}
	<span class="styleCoo">{{publication.publication_name_en}}</span>
	{{publication.publication_content_en|safe}}<hr/>
	{% endfor %}
	{% else %}{% ifequal lang 'zh' %}
	{% for publication in publication_list %}
	<span class="styleCoo">{{publication.publication_name_zh}}</span>
	{{publication.publication_content_zh|safe}}<hr/>
	{% endfor %}
	{% endifequal %}{% endifequal %}
    </div>
    <div style="clear:both"></div>
</div>
{% endblock %}
